import request from '@/plugins/request';

export function WechatList(data) {
    return request({
        url: '/v1/robot/index/auth-member-list',
        method: 'get',
        params: data
    });
}
// 微信好友列表【分类】
export function WechatFriendList(data) {
    return request({
        url: '/v1/customer/wechat/contact-list-by-weiliao',
        method: 'get',
        params: data
    });
}
// 搜索微信好友列表【分类】
export function SearchWechatFriendList(data) {
    return request({
        url: '/v1/customer/wechat/search-contact-list-by-weiliao',
        method: 'get',
        params: data
    });
}

/**
 * 根据微信好友获取患者列表
 */
export function PatientList(data) {
    return request({
        url: '/v1/robot/index/patient-list',
        method: 'get',
        params: data
    });
}

/* 微信好友信息 */
export function WxFriend(data) {
    return request({
        url: '/v1/robot/index/wx-friend-info',
        method: 'get',
        params: data
    });
}
/* 微聊回访列表 */
export function RetrunVisit(data) {
    return request({
        url: '/v1/patient/index/callback-list-v2',
        method: 'get',
        params: data
    });
}